package com.developer.platform.application.query.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;

/**
 * @author ：qiaoliang
 * @date ：2020-11-09
 */
@ApiModel("角色菜单信息返回模型")
public class RoleMenuDto {
    @ApiModelProperty(value = "资源信息")
    private final List<MenuTreeDto> list;
    @ApiModelProperty(value = "角色对应资源ID")
    private final List<Long> ids;

    public RoleMenuDto(List<MenuTreeDto> list, List<Long> ids) {
        this.list = list;
        this.ids = ids;
    }

    public List<MenuTreeDto> getList() {
        return list;
    }

    public List<Long> getIds() {
        return ids;
    }

}
